package com.sd.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lws
 * @since 2019-01-22
 */
@TableName("ke_category_goods")
public class CategoryGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 宝贝分类id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 宝贝分类名称
     */
    private String categoryName;

    private Boolean type;

    /**
     * 父id
     */
    private Integer pid;

    /**
     * 包含宝贝数量
     */
    private Integer goodsNum;

    /**
     * 分类状态，与宝贝状态对应：0=关闭，1开启
     */
    private Boolean status;

    /**
     * 宝贝排序
     */
    private Integer sort;

    /**
     * 分类图标
     */
    private Integer icon;

    /**
     * 标志
     */
    private String name;

    /**
     * SEO的网页标题
     */
    private String metaTitle;

    /**
     * 关键字
     */
    private String keywords;

    /**
     * 描述
     */
    private String description;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Boolean getType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIcon() {
        return icon;
    }

    public void setIcon(Integer icon) {
        this.icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMetaTitle() {
        return metaTitle;
    }

    public void setMetaTitle(String metaTitle) {
        this.metaTitle = metaTitle;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "CategoryGoods{" +
        "id=" + id +
        ", categoryName=" + categoryName +
        ", type=" + type +
        ", pid=" + pid +
        ", goodsNum=" + goodsNum +
        ", status=" + status +
        ", sort=" + sort +
        ", icon=" + icon +
        ", name=" + name +
        ", metaTitle=" + metaTitle +
        ", keywords=" + keywords +
        ", description=" + description +
        "}";
    }
}
